home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / mail / uucp / uubatch.105 / Makefile < prev    next >
Encoding:
Makefile  |  1993-06-08  |  2.9 KB  |  105 lines

  1. #
  2. # Makefile, uubatch version 1.0.5
  3. #
  4. # uubatch package Makefile
  5. #
  6. # Authors :    Gil Tene        (devil@hellnet.org)
  7. #        Baruch Cochavy        (blue@dduster.hellnet.org)
  8. #
  9. #
  10.  
  11. #
  12. # Defines:
  13. #
  14. # MIN_TIME_BEFORE_BATCH : The minimun time (in seconds) since the 
  15. # time a job was queued before it can be batched. This is use to 
  16. # avoid clashing with rmail jobs that are being queued at the same 
  17. # time as the batching is done. Recommended more than 1 minutes
  18. # (60 seconds to be sure...)
  19. #
  20. # UUCP_SPOOL_DIR : The directory under which individual nodes' spool
  21. # directory files are (such as /usr/spool/uucp)
  22. #
  23. # _PATH_LOCKDIRNAME : describes (in printf format) the complete path 
  24. # and name of a uucp lock file for a given node name.
  25. #
  26. # The follwoing is an example CONFIG_DEFS setting for a tipical instalation:
  27. #
  28. # SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  29. #       -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
  30. #
  31. #
  32. # The following are configuration dependent:
  33. #
  34. CONFIG_DEFS = -DMIN_TIME_BEFORE_BATCH=60
  35. #
  36. # uubatch version
  37. VER=1.0.5
  38. #
  39. # The following are system dependent:
  40. ######################################################################
  41. # for Ultrix
  42. #
  43. #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  44.        -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
  45. #CCFLAGS = -DBSD -O
  46. #
  47. ######################################################################
  48. # for Sun386i
  49. #
  50. #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  51.        -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
  52. #CCFLAGS = -Dsun386i -O
  53. #
  54. ######################################################################
  55. # for SounOS 4.1
  56. #
  57. SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  58.        -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
  59. CCFLAGS = -O
  60. #
  61. ######################################################################
  62. # for SCO Unix with a gcc compiler:
  63. #
  64. #CC = gcc
  65. #CCFLAGS = -O -DSCO
  66. #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  67.        -D_PATH_LOCKDIRNAME=\"/usr/spool/uucp/LCK..%s\"
  68. #
  69. ######################################################################
  70. #
  71. # for NeXT BSD4.3 (System 2.1) :
  72. #
  73. #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  74.             -D_PATH_LOCKDIRNAME=\"/usr/spool/uucp/LCK..%s\"
  75. #CCFLAGS = -object -O -g
  76. #
  77. ######################################################################
  78. # for OKI860
  79. #
  80. #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
  81.        -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
  82. #CCFLAGS = -DSCO -DHAS_STRING -O
  83. #
  84. ######################################################################
  85.  
  86.  
  87. all: uudebat uubatch uucplock
  88.  
  89. uudebat: uudebat.c
  90.     $(CC) $(CCFLAGS) $(SYS_DEFS) $(CONFIG_DEFS) uudebat.c -o uudebat
  91.  
  92. uubatch: uubatch.c
  93.     $(CC) $(CCFLAGS) $(SYS_DEFS) $(CONFIG_DEFS) uubatch.c -o uubatch
  94.  
  95. uucplock: uucplock.c
  96.     $(CC) $(CCFLAGS) $(SYS_DEFS) $(CONFIG_DEFS) uucplock.c -o uucplock
  97.  
  98. shar:
  99.     shar COPYRIGHT Makefile README uubatch.c uucdebat \
  100.         uucplock.c uudebat.c uubatch.1 uudebat.1 \
  101.         patchlevel.h > uubatch.$(VER)
  102.  
  103. clean:
  104.     -rm -f uudebat uubatch uucplock
  105.